import WxProfitSharing from './weixin/sharing/index'
// import AliPayment from './alipay/sharing/index'

import { createApi } from './shared/index'

module.exports = {
  initWeixin: (options = {}) => {
    options.clientType = options.clientType || __ctx__.PLATFORM
    return createApi(WxProfitSharing, options)
  }
  // initAlipay: (options = {}) => {
  //   options.clientType = options.clientType || __ctx__.PLATFORM
  //   return createApi(AliPayment, options)
  // }
}
